home *** CD-ROM | disk | FTP | other *** search
/ Apple AUX 3.0 / Apple AUX 3.0.iso / MacInstallFiles / Printing / LQ AppleTalk ImageWriter / LQ AppleTalk ImageWriter.rsrc / bin.rsrc_DRVR_-8192_.XPrint.txt < prev    next >
Text File  |  1991-04-25  |  35KB  |  642 lines

  1. # name: .Print
  2. # flags: 0x0C00 (ENABLE_CONTROL, ENABLE_STATUS)
  3. # delay: 0
  4. # event mask: 0x0000
  5. # menu id: 0
  6. # open label: 0000
  7. # prime label: 0006
  8. # control label: 00C6
  9. # status label: 0132
  10. # close label: 000A
  11. open:
  12. 00000000  137C 0046 0007           move.b     [A1 + 0x7], 0x46 /* 'F' */
  13. prime:
  14. 00000006  7000                     moveq.l    D0, 0x00
  15. 00000008  4E75                     rts
  16. close:
  17. 0000000A  7000                     moveq.l    D0, 0x00
  18. 0000000C  4E75                     rts
  19. label0000000E:
  20. 0000000E  2255                     movea.l    A1, [A5]
  21. 00000010  0C38 003F 028E           cmpi.b     [0x0000028E /* ROM85 */], 0x3F /* '?' */
  22. 00000016  661E                     bne        +0x20 /* 00000036 */
  23. 00000018  2478 08A4                movea.l    A2, [0x000008A4 /* MainDevice */]
  24. 0000001C  2452                     movea.l    A2, [A2]
  25. 0000001E  246A 0016                movea.l    A2, [A2 + 0x16]
  26. 00000022  2452                     movea.l    A2, [A2]
  27. 00000024  0C6A 0001 0020           cmpi.w     [A2 + 0x20], 0x1
  28. 0000002A  670A                     beq        +0xC /* 00000036 */
  29. 0000002C  3F3C 0008                move.w     -[A7], 0x8
  30. 00000030  A9C8                     syscall    SysBeep
  31. 00000032  6000 0088                bra        +0x8A /* 000000BC */
  32. label00000036:
  33. 00000036  45E9 FF86                lea.l      A2, [A1 - 0x7A]
  34. 0000003A  214A 001C                move.l     [A0 + 0x1C], A2
  35. 0000003E  45E9 FF8C                lea.l      A2, [A1 - 0x74]
  36. 00000042  214A 0020                move.l     [A0 + 0x20], A2
  37. 00000046  217C 0000 0001 0024      move.l     [A0 + 0x24], 0x1
  38. 0000004E  6100 0166                bsr        +0x168 /* 000001B6 */
  39. 00000052  6068                     bra        +0x6A /* 000000BC */
  40. label00000054:
  41. 00000054  2C48                     movea.l    A6, A0
  42. 00000056  594F                     subq.w     A7, 4
  43. 00000058  A924                     syscall    FrontWindow
  44. 0000005A  2457                     movea.l    A2, [A7]
  45. 0000005C  4A9F                     tst.l      [A7]+
  46. 0000005E  675C                     beq        +0x5E /* 000000BC */
  47. 00000060  0C38 003F 028E           cmpi.b     [0x0000028E /* ROM85 */], 0x3F /* '?' */
  48. 00000066  661C                     bne        +0x1E /* 00000084 */
  49. 00000068  2278 08A4                movea.l    A1, [0x000008A4 /* MainDevice */]
  50. 0000006C  2251                     movea.l    A1, [A1]
  51. 0000006E  2269 0016                movea.l    A1, [A1 + 0x16]
  52. 00000072  2251                     movea.l    A1, [A1]
  53. 00000074  0C69 0001 0020           cmpi.w     [A1 + 0x20], 0x1
  54. 0000007A  6708                     beq        +0xA /* 00000084 */
  55. 0000007C  3F3C 0008                move.w     -[A7], 0x8
  56. 00000080  A9C8                     syscall    SysBeep
  57. 00000082  6038                     bra        +0x3A /* 000000BC */
  58. label00000084:
  59. 00000084  514F                     subq.w     A7, 8
  60. 00000086  264F                     movea.l    A3, A7
  61. 00000088  41EA 0002                lea.l      A0, [A2 + 0x2]
  62. 0000008C  2D48 001C                move.l     [A6 + 0x1C], A0
  63. 00000090  2D4B 0020                move.l     [A6 + 0x20], A3
  64. 00000094  2D7C 0000 0001 0024      move.l     [A6 + 0x24], 0x1
  65. 0000009C  2F0B                     move.l     -[A7], A3
  66. 0000009E  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  67. 000000A2  246A 0072                movea.l    A2, [A2 + 0x72]
  68. 000000A6  2452                     movea.l    A2, [A2]
  69. 000000A8  544A                     addq.w     A2, 2
  70. 000000AA  26DA                     move.l     [A3]+, [A2]+
  71. 000000AC  2692                     move.l     [A3], [A2]
  72. 000000AE  A8A8                     syscall    OffsetRect
  73. 000000B0  A852                     syscall    HideCursor
  74. 000000B2  204E                     movea.l    A0, A6
  75. 000000B4  6100 0100                bsr        +0x102 /* 000001B6 */
  76. 000000B8  A853                     syscall    ShowCursor
  77. 000000BA  504F                     addq.w     A7, 8
  78. label000000BC:
  79. 000000BC  6100 029C                bsr        +0x29E /* 0000035A */
  80. 000000C0  6100 0456                bsr        +0x458 /* 00000518 */
  81. 000000C4  607E                     bra        +0x80 /* 00000144 */
  82. control:
  83. 000000C6  48E7 00C0                movem.l    -[A7], A0,A1
  84. 000000CA  3028 001A                move.w     D0, [A0 + 0x1A]
  85. 000000CE  5940                     subq.w     D0, 4
  86. 000000D0  6606                     bne        +0x8 /* 000000D8 */
  87. 000000D2  6100 00E2                bsr        +0xE4 /* 000001B6 */
  88. 000000D6  606C                     bra        +0x6E /* 00000144 */
  89. label000000D8:
  90. 000000D8  5340                     subq.w     D0, 1
  91. 000000DA  6606                     bne        +0x8 /* 000000E2 */
  92. 000000DC  6100 046C                bsr        +0x46E /* 0000054A */
  93. 000000E0  6062                     bra        +0x64 /* 00000144 */
  94. label000000E2:
  95. 000000E2  5340                     subq.w     D0, 1
  96. 000000E4  6618                     bne        +0x1A /* 000000FE */
  97. 000000E6  6100 034C                bsr        +0x34E /* 00000434 */
  98. 000000EA  6100 0266                bsr        +0x268 /* 00000352 */
  99. 000000EE  2057                     movea.l    A0, [A7]
  100. 000000F0  0C28 0001 001D           cmpi.b     [A0 + 0x1D], 0x1
  101. 000000F6  6700 FF5C                beq        -0xA2 /* 00000054 */
  102. 000000FA  6000 FF12                bra        -0xEC /* 0000000E */
  103. label000000FE:
  104. 000000FE  5340                     subq.w     D0, 1
  105. 00000100  6642                     bne        +0x44 /* 00000144 */
  106. 00000102  3028 001C                move.w     D0, [A0 + 0x1C]
  107. 00000106  5340                     subq.w     D0, 1
  108. 00000108  660A                     bne        +0xC /* 00000114 */
  109. 0000010A  6100 0328                bsr        +0x32A /* 00000434 */
  110. 0000010E  6100 0242                bsr        +0x244 /* 00000352 */
  111. 00000112  6030                     bra        +0x32 /* 00000144 */
  112. label00000114:
  113. 00000114  5340                     subq.w     D0, 1
  114. 00000116  6606                     bne        +0x8 /* 0000011E */
  115. 00000118  6100 0240                bsr        +0x242 /* 0000035A */
  116. 0000011C  6026                     bra        +0x28 /* 00000144 */
  117. label0000011E:
  118. 0000011E  5340                     subq.w     D0, 1
  119. 00000120  6606                     bne        +0x8 /* 00000128 */
  120. 00000122  6100 04B2                bsr        +0x4B4 /* 000005D6 */
  121. 00000126  601C                     bra        +0x1E /* 00000144 */
  122. label00000128:
  123. 00000128  5540                     subq.w     D0, 2
  124. 0000012A  6618                     bne        +0x1A /* 00000144 */
  125. 0000012C  6100 03EA                bsr        +0x3EC /* 00000518 */
  126. 00000130  6012                     bra        +0x14 /* 00000144 */
  127. status:
  128. 00000132  48E7 00C0                movem.l    -[A7], A0,A1
  129. 00000136  2268 001C                movea.l    A1, [A0 + 0x1C]
  130. 0000013A  41FA 0016                lea.l      A0, [PC + 0x16 /* 00000152, value 0x500050 'P\0P', cstring "" */]
  131. 0000013E  701C                     moveq.l    D0, 0x1C
  132. 00000140  A02E                     syscall    BlockMove/BlockMoveData
  133. 00000142  7000                     moveq.l    D0, 0x00
  134. label00000144:
  135. 00000144  4CDF 0300                movem.l    A0,A1, [A7]+
  136. 00000148  3038 0944                move.w     D0, [0x00000944 /* PrintErr */]
  137. 0000014C  2078 08FC                movea.l    A0, [0x000008FC /* JIODone */]
  138. 00000150  4ED0                     jmp        [A0]
  139. 00000152  0050 0050                ori.w      [A0], 0x50 /* 'P' */
  140. 00000156  0002 0201                ori.b      D2, 0x1
  141. 0000015A  0400 0000                subi.b     D0, 0x0
  142. 0000015E  0005 0102                ori.b      D5, 0x2
  143. 00000162  0502                     btst       D2, D2
  144. 00000164  0400 00FE                subi.b     D0, 0xFE
  145. 00000168  0000 0201                ori.b      D0, 0x1
  146. 0000016C  0302                     btst       D2, D1
  147. 0000016E  0050 0048                ori.w      [A0], 0x48 /* 'H' */
  148. 00000172  0000 213E                ori.b      D0, 0x3E /* '>' */
  149. 00000176  0010 0010                ori.b      [A0], 0x10
  150. 0000017A  0008 0008                ori.b      A0, 0x8
  151. 0000017E  0001 0048                ori.b      D1, 0x48 /* 'H' */
  152. 00000182  0048 0000                ori.w      A0, 0x0
  153. 00000186  213E                     move.l     -[A0], <<i